package com.guagua.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guagua.blog.entity.Comment;
import com.guagua.blog.vo.CommentVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CommentMapper extends BaseMapper<Comment> {
    List<CommentVO> selectCommentsByArticleId(@Param("articleId") Long articleId);
} 